package com.wjs.spring.bean;

public class Teacher {
    private String name;
    private String tno;
    private String department;
    private String gender;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTno() {
        return tno;
    }

    public void setTno(String tno) {
        this.tno = tno;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "姓名='" + name + '\'' +
                ", 工号='" + tno + '\'' +
                ", 学院='" + department + '\'' +
                ", 性别='" + gender + '\'' +
                '}';
    }
}
